package com.example.shopp_2301.welfg

import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.alibaba.android.arouter.launcher.ARouter
import com.blankj.utilcode.util.SPUtils
import com.example.base.mvvm.BaseViewFragment
import com.example.shopp_2301.R
import com.example.shopp_2301.databinding.FragmentBlank3Binding


class BlankFragment3 : BaseViewFragment<FragmentBlank3Binding>() {
    override fun initView() {
        //点击立即进入，检查是否登录，如果已登录跳转到主页，如果未登录，跳转到登录页面
        binding.go.setOnClickListener {
            //使用了登录拦截，会根据实际情况跳转到对应的界面
           ARouter.getInstance().build("/app/ShopActivity").navigation()

        }
    }

    override fun initData() {

    }

    override fun getLayout(): Int {
        return R.layout.fragment_blank3
    }

}